﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CinemaMaestro.DataLayer.Contracts.Entities
{
    public class Director : IEntity
    {
        public Director()
        {
            this.Movies = new HashSet<Movie>();
        }
        public int Id { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime BirthDay { get; set; }
        public byte[] Image { get; set; }

        public virtual ICollection<Movie> Movies { get; set; }
    }
}
